Repository navigation
feat: add tap to click touchpad setting - #47
Merged
mirkobrombin merged 1 commit intoNov 24, 2026
Merged
Conversation
Add a "Tap to Click" switch to the Mouse & Touchpad settings. The shell writes the value as <tap> in the touchpad section of the labwc rc.xml and reconfigures labwc when the value changes. The switch and the <tap> element are only used when the dev.sinty.desktop schema has the touchpad-tap-to-click key, so the shell keeps working with an older schema.
jp-vernooy
marked this pull request as ready for review
November 13, 2026 18:53
Member
|
Merging together with singularity-desktop#283. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a "Tap to Click" switch to the "Mouse & Touchpad" group on the Keyboard settings page.
touchpad-tap-to-clickkey indev.sinty.desktop.ShortcutManagerwrites the value as<tap>yes|no</tap>in the<device category="touchpad">section of the labwcrc.xml. It is next to<naturalScroll>, the same as the other touchpad options.rc.xmlagain and reconfigures labwc, the same as for the scroll keys.<tap>line are used only when the schema has the key. With an oldersingularity-desktopschema, the shell keeps working and does not write<tap>. labwc then uses its default (tap on).Why: Today, tap to click is always on, and the user cannot easily turn it off. On touchpads that click when you press them (i.e. Apple force-sensing trackpads), a light touch can cause an unwanted click.
Verification:
meson test: 101 OK, 6 FAIL. The same 6 tests fail onmainwithout this change (async,async-loads,media-sources,choice-button,parental-helper,crash-handler).Screenshots:

Depends on singularityos-lab/singularity-desktop#283 for the schema key. Either PR can merge first.
Generative AI assistance
AI assistance: none